package adv1;

/**
 * @author oldliu
 * @since 1.0
 */
public class StrTest {
    public static void main(String[] args) {
        String s="马超和杭州富婆不得不说的故事";
        String s2=s;
        s="java";
        System.out.println("s2="+s2);
        byte[]b={65,66,67};
        String s3=new String(b);
        char c[]={21016,19999,97,98,99};
        String s4=new String(c);
        System.out.println("s3="+s3);
        System.out.println("s4="+s4);
        s4=s4.toUpperCase();
        System.out.println("大写的s4："+s4);
    }
}
